<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/normalize.css">
    <link rel="stylesheet" href="./css/default(1).css">
    <style type="text/css">
        #gallery-wrapper {
            position: relative;
            max-width: 75%;
            width: 75%;
            margin: 50px auto;
        }

        img.thumb {
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        .white-panel {
            position: absolute;
            background: white;
            border-radius: 5px;
            box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
            padding: 10px;
        }

        .white-panel h1 {
            font-size: 1em;
        }

        .white-panel h1 a {
            color: #A92733;
        }

        .white-panel:hover {
            box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
            margin-top: -5px;
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }
    </style>
</head>

<body>
    <section id="gallery-wrapper">
        <article class="white-panel">
            <img src="./images/p_001.jpg" class="thumb">
            <h1><a href="#">Title 1</a></h1>
            <p>Description 1</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_002.jpg" class="thumb">
            <h1><a href="#">Title 2</a></h1>
            <p>Description 2</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_003.jpg" class="thumb">
            <h1><a href="#">Title 3</a></h1>
            <p>Description 3</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_004.jpg" class="thumb">
            <h1><a href="#">Title 4</a></h1>
            <p>Description 4</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_005.jpg" class="thumb">
            <h1><a href="#">Title 5</a></h1>
            <p>Description 5</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_006.jpg" class="thumb">
            <h1><a href="#">Title 6</a></h1>
            <p>Description 6</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_007.jpg" class="thumb">
            <h1><a href="#">Title 7</a></h1>
            <p>Description 7</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_008.jpg" class="thumb">
            <h1><a href="#">Title 8</a></h1>
            <p>Description 8</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_009.jpg" class="thumb">
            <h1><a href="#">Title 9</a></h1>
            <p>Description 9</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_010.jpg" class="thumb">
            <h1><a href="#">Title 10</a></h1>
            <p>Description 10</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_011.jpg" class="thumb">
            <h1><a href="#">Title 11</a></h1>
            <p>Description 11</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_012.jpg" class="thumb">
            <h1><a href="#">Title 12</a></h1>
            <p>Description 12</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_013.jpg" class="thumb">
            <h1><a href="#">Title 13</a></h1>
            <p>Description 13</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_014.jpg" class="thumb">
            <h1><a href="#">Title 14</a></h1>
            <p>Description 14</p>
        </article>
        <article class="white-panel">
            <img src="./images/p_015.jpg" class="thumb">
            <h1><a href="#">Title 15</a></h1>
            <p>Description 15</p>
        </article>
    </section>
    <script src="./js/jquery-1.11.0.min.js"></script>
    <script src="./js/pinterest_grid.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#gallery-wrapper").pinterest_grid({
                no_columns: 4,
                padding_x: 10,
                padding_y: 10,
                margin_bottom: 50,
                single_column_breakpoint: 700
            });

        });
    </script>
</body>

</html>